package d1123.r214.num07;

public class Stu {
    private String name;
    private  double score;
    private String sNo;

    public Stu(String name, double score, String sNo) {
        this.name = name;
        this.score = score;
        this.sNo = sNo;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }

    public String getsNo() {
        return sNo;
    }

    public void setsNo(String sNo) {
        this.sNo = sNo;
    }

    @Override
    public String toString() {
        return "Stu{" +
                "name='" + name + '\'' +
                ", score=" + score +
                ", sNo='" + sNo + '\'' +
                '}';
    }
}
